﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="menu.ascx.cs" Inherits="menu" %>

<div class="menuchinh">
    <h1 id="site_title"></h1>
    <div class="textmenu">
        <ul class="menu">
                <a href="/"><img src="/images/1403894681_home_basic_blue.png" /><%--<asp:Label ID="Label1" runat="server" Text="<%$ Resources:home %>"></asp:Label>--%></a>
            <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
                <ItemTemplate>
                    <li class="menu-item" id="<%#Eval("CategoryId") %>">
                        <a href="/<%#Eval("NameVN").ToString().ToAscii() %>-<%#Eval("CategoryId") %>.html"><%#Eval(Name) %></a>

                        <ul class="ul-menu">
                            <asp:Repeater ID="rpt2" runat="server">
                                <ItemTemplate>
                                    <li class="sub-menu "><a href="/<%#Eval("Category.NameVN").ToString().ToAscii() %>/<%#Eval("NameVN").ToString().ToAscii() %>-<%#Eval("LocationId") %>.html"><%#Eval(Name) %></a>
                                        <%--<ul class="ul-sub-menu-c3">
                                            <asp:Repeater ID="rpt3" runat="server">
                                                <ItemTemplate>
                                                    <li class="li_sub_menu_c3"><a href="product.aspx?LocationId=<%#Eval("LocationId") %>"><%#Eval("LocationName") %></a></li>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </ul>--%>
                                    </li>

                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
            <li class="right"><a href="/gioi-thieu.html"> <asp:Label ID="Label2" runat="server" Text="<%$ Resources:about %>"></asp:Label></a></li>
            <li class="right"> <asp:Label ID="Label3" runat="server" Text="<%$ Resources:contact %>"></asp:Label></li>
            <li class="right"> <asp:Label ID="Label4" runat="server" Text="<%$ Resources:news %>"></asp:Label></li>
            <li class="right"> <asp:Label ID="Label5" runat="server" Text="<%$ Resources:td %>"></asp:Label></li>
        </ul>
    </div>
</div>
